from expression import *
from customExceptions import ReturnExcpt


class sequence(expression):
	def __init__(self, listex):
		self.last = listex.pop()
		self.listex = listex
	def evaluate(self,env):
		for e in self.listex:
			e.evaluate(env)
		return self.last.evaluate(env)
